package com.ikos.web.modules.admin.service;

import com.ikos.web.modules.admin.entity.IkosCaptcha;
import com.baomidou.mybatisplus.extension.service.IService;


import java.awt.image.BufferedImage;

public interface IkosCaptchaService extends IService<IkosCaptcha> {
    /**
     * 获取图片验证码
     */
    String getCaptcha(String uuid);

    /**
     * 验证码校验
     * @param uuid uuid
     * @param code 验证码
     * @return true: 成功 false: 失败
     */
    boolean validate(String uuid, String code);

}
